package leo.data
{
	import flash.filters.GlowFilter;
	import flash.geom.Point;
	/**
	 * 游戏常量 
	 * @author leo
	 * 
	 */
	public class GameConst
	{

		/**
		 * config.xml目录 
		 */		
//		public static const CONFIG_URL :String = "http://www.longsihao.com/games/TDGame/config.xml";
		public static const CONFIG_URL :String = "leo/data/config.xml";
		/**
		 * 小loading界面链接名 
		 */		
		public static const MC_LOADING :String = "MC_loading";
		/**
		 * 顶部ui链接名 
		 */		
		public static const TOP_UI :String = "TopUI";
		/**
		 * 底部ui链接名 
		 */		
		public static const BOTTOM_UI :String = "bottomLayerBg";
		/**
		 * 格子宽 
		 */		
		public static const TILE_WIDTH :int = 64;
		/**
		 * 格子高 
		 */		
		public static const TILE_HEIGHT :int = 64;
		/**
		 * 地图宽 
		 */		
		public static const MAP_WIDTH :int = 768;
		/**
		 * 地图高 
		 */		
		public static const MAP_HEIGHT :int = 640;
		/**
		 * 地图列数
		 */		
		public static const MAP_COLS :int = MAP_WIDTH/TILE_WIDTH;
		/**
		 * 地图行数 
		 */		
		public static const MAP_ROWS :int = MAP_HEIGHT/TILE_HEIGHT;
		/**
		 * 墙的链接名 
		 */		
		public static const MC_WALL :String = "wall";
		/**
		 * 高速塔的链接名 
		 */		
		public static const MC_TOPSPEEDTOWER :String = "topSpeedTower";
		/**
		 * 高攻塔的链接名 
		 */		
		public static const MC_HIGHTATTACKTOWER :String = "hightAttackTower";
		/**
		 * 群攻塔的链接名 
		 */		
		public static const MC_MULTITARGETTOWER :String = "multiTargetTower";
		/**
		 * 增益塔的链接名 
		 */		
		public static const MC_NEGATIVEEFFECTSTOWER :String = "negativeEffectsTower";
		/**
		 * 鼠标以上底部ui防守塔时发光效果
		 */		
		public static const BOTTOM_MOUSE_ON_TOWER:GlowFilter = new GlowFilter(0xffeee00,1,5,5,10);
		/**
		 * 按钮被选择后 
		 */		
		public static const BOTTOM_MOUSE_SELECTED:GlowFilter = new GlowFilter(0xff00ee00,1,5,5,10);
		/**
		 * 怪物被减速发光效果 
		 */		
		public static const MONSTER_IS_DROP_SPEED :GlowFilter = new GlowFilter(0x0080FF,1,5,5,10);
		/**
		 * 移动中的防守塔的透明度 
		 */		
		public static const MAP_OBJ_DRAG_ALPHA :Number = .5;
		/**
		 * 怪物图片格子宽 
		 */		
		public static const IMG_TILE_WIDHT :int = 64;
		/**
		 * 怪物图片格子高
		 */		
		public static const IMG_TILE_HEIGHT :int = 64;
		/**
		 * 防守塔的宽 
		 */		
		public static const TOWER_WIDTH :int = 50;
		/**
		 *  防守塔的高
		 */		
		public static const TOWER_HEIGHT :int = 50;
		/**
		 * 防守塔吸附器链接名 
		 */	
		public static const ADSORBER :String = "adsorber";
		/**
		 * 防守塔底座 
		 */		
		public static const BASE :String = "base";
		public function GameConst()
		{
		}
	}
}